Unconditionally disable testpreempt test
authorStephane Glondu <steph@glondu.net>
Thu, 30 Jul 2020 09:30:33 +0000 (11:30 +0200)
committerStéphane Glondu <glondu@debian.org>
Thu, 30 Jul 2020 09:31:04 +0000 (11:31 +0200)
debian/rules

index 48b85aeb7003ba62fdc6d9a8842775ea824e3049..ba4d5efd0dbf20ae2fe95b922190f82d21556f9e 100755 (executable)
@@ -279,14 +279,10 @@ ifneq (,$(filter $(DEB_BUILD_ARCH),$(SLOW_ARCHITECTURES)))
        sed -i /almabench.ml/d testsuite/tests/misc-unsafe/ocamltests
        rm -f testsuite/tests/misc-unsafe/almabench.ml
 endif
-ifeq ($(OCAMLMAJOR),4.08)
-ifneq (,$(findstring kfreebsd,$(DEB_BUILD_ARCH)))
-# We temporarily disable testpreempt test which should be fixed in 4.09
-# See https://github.com/ocaml/ocaml/pull/8849
+# testpreempt test is too unreliable.
+# It failed at least once on kfreebsd and amd64.
        sed -i /testpreempt.ml/d testsuite/tests/lib-systhreads/ocamltests
        rm -f testsuite/tests/lib-systhreads/testpreempt.ml
-endif
-endif
 ifneq (,$(findstring hurd,$(DEB_BUILD_ARCH)))
        sed -i /beat.ml/d testsuite/tests/lib-threads/ocamltests
        rm -f testsuite/tests/lib-threads/beat.ml